Disable passing -g for now
authorAlex Crichton <alex@alexcrichton.com>
Wed, 9 Jul 2014 22:04:59 +0000 (15:04 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 9 Jul 2014 22:04:59 +0000 (15:04 -0700)
src/cargo/ops/cargo_rustc.rs

index 14cf3d963ef06df1c34e0458a6a0f230d9537176..4b52dd951660b2a2b339560ee5558a8c71bff801 100644 (file)
@@ -271,9 +271,10 @@ fn build_base_args(into: &mut Args,
         into.push(profile.get_opt_level().to_str());
     }
 
-    if profile.get_debug() {
-        into.push("-g".to_str());
-    }
+    // Right now -g is a little buggy, so we're not passing -g just yet
+    // if profile.get_debug() {
+    //     into.push("-g".to_str());
+    // }
 
     if profile.is_test() {
         into.push("--test".to_str());